package com.ruoyi.stock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户对象 stock_user
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class StockUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 系统用户id */
    @Excel(name = "系统用户id")
    @ApiModelProperty(value = "系统用户id")
    private Long sysUserid;

    /** 用户类型 */
    @Excel(name = "用户类型")
    @ApiModelProperty(value = "用户类型")
    private Integer roleType;

    /** 是否体验过免费会员 */
    @Excel(name = "是否体验过免费会员(1微体验过，2体验过)")
    @ApiModelProperty(value = "是否体验过免费会员(1微体验过，2体验过)")
    private Integer isFreemember;

    /** 是否购买了会员 */
    @Excel(name = "是否购买了会员（）")
    @ApiModelProperty(value = "是否购买了会员（1，买了；2；未买）")
    private Integer isMember;

    /** 会员剩余天数 */
    @Excel(name = "会员剩余天数")
    @ApiModelProperty(value = "会员剩余天数")
    private String memberDays;

    /** 免费会员剩余天数 */
    @Excel(name = "免费会员剩余天数")
    @ApiModelProperty(value = "免费会员剩余天数")
    private String freeMemberDays;

    /** 会员类型 */
    @Excel(name = "会员类型（1:免费会员；2：正式会员）")
    @ApiModelProperty(value = "会员类型（1:免费会员；2：正式会员）")
    private String memberType;


    /** 会员类型 */
    @Excel(name = "会员名称")
    @ApiModelProperty(value = "会员名称")
    private String memberName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;


    /** 会员到期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "会员到期日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date memberMaturityTime;

    /** 询价剩余次数 */
    @Excel(name = "询价剩余次数")
    @ApiModelProperty(value = "是否展示")
    private String inqueryCount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "是否展示")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 用户头像 */
    @Excel(name = "用户头像")
    @ApiModelProperty(value = "是否展示")
    private String userPhoto;

    /** 用户密码 */
    @Excel(name = "用户密码")
    private String userPassword;

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Date getMemberMaturityTime() {
        return memberMaturityTime;
    }

    public void setMemberMaturityTime(Date memberMaturityTime) {
        this.memberMaturityTime = memberMaturityTime;
    }

    public String getInqueryCount() {
        return inqueryCount;
    }

    public void setInqueryCount(String inqueryCount) {
        this.inqueryCount = inqueryCount;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSysUserid(Long sysUserid) 
    {
        this.sysUserid = sysUserid;
    }

    public Long getSysUserid() 
    {
        return sysUserid;
    }
    public void setRoleType(Integer roleType) 
    {
        this.roleType = roleType;
    }

    public Integer getRoleType() 
    {
        return roleType;
    }
    public void setIsFreemember(Integer isFreemember) 
    {
        this.isFreemember = isFreemember;
    }

    public Integer getIsFreemember() 
    {
        return isFreemember;
    }
    public void setIsMember(Integer isMember)
    {
        this.isMember = isMember;
    }

    public Integer getIsMember()
    {
        return isMember;
    }
    public void setMemberDays(String memberDays) 
    {
        this.memberDays = memberDays;
    }

    public String getMemberDays() 
    {
        return memberDays;
    }
    public void setFreeMemberDays(String freeMemberDays) 
    {
        this.freeMemberDays = freeMemberDays;
    }

    public String getFreeMemberDays() 
    {
        return freeMemberDays;
    }
    public void setMemberType(String memberType) 
    {
        this.memberType = memberType;
    }

    public String getMemberType() 
    {
        return memberType;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUserPhoto(String userPhoto) 
    {
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto() 
    {
        return userPhoto;
    }
    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sysUserid", getSysUserid())
            .append("roleType", getRoleType())
            .append("isFreemember", getIsFreemember())
            .append("isMember", getIsMember())
            .append("memberDays", getMemberDays())
            .append("freeMemberDays", getFreeMemberDays())
            .append("memberType", getMemberType())
            .append("remark", getRemark())
            .append("phoneNumber", getPhoneNumber())
            .append("userName", getUserName())
            .append("createDate", getCreateDate())
            .append("userPhoto", getUserPhoto())
            .append("userPassword", getUserPassword())
            .toString();
    }
}
